package com.situ.lession1226.controller;


import com.situ.lession1226.model.News;
import com.situ.lession1226.service.NewsService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

//返回所有的电影类别页面

@Controller
public class AllCategoryController {


    @GetMapping("/allcategory")
    public String list(){
        return "allcategory/allcategory";
        }


}
